package com.nz2004.smsplatform.common.constants;

/**
 * @author ReJoice
 */
public class CacheConstants {

    // 客户信息缓存前缀
    public final static String CACHE_PREFIX_CLIENT = "CLIENT:";

    // 号段补全策略中使用的内容     20W条
    public final static String CACHE_PREFIX_PHASE = "PHASE:";

    // 黑名单信息.
    public final static String CACHE_PREFIX_BLACK = "BLACK:";

    // 扣费
    public final static String CACHE_PREFIX_CUSTOMER_FEE = "CUSTOMER_FEE:";

    // 路由
    public final static String CACHE_PREFIX_ROUTER = "ROUTER:";

    // 敏感词
    public final static String CACHE_PREFIX_DIRTY_WORDS = "DIRTY_WORDS:";

    // 使用的策略及策略顺序.
    public final static String CACHE_PREFIX_SMS_FILTERS_ORDER = "FILTERS_ORDER:";


    // 限流策略.
    public final static String CACHE_PREFIX_SMS_LIMIT = "LIMIT:";

    // 通道信息
    public final static String CACHE_PREFIX_SMS_CHANNEL = "CHANNEL:";           //  管道信息都存进去

    // 客户管道信息
    public final static String CACHE_PREFIX_SMS_CLIENT_CHANNEL = "CLIENT_CHANNEL:";  // 1,2,3


    // 通过客户管道信息查询   CLIENT_CHANNEL: + ClientID = 1,2,3
    // 通过Channle查询三个通道的信息   CHANNEL: + 1 , + 2 , + 3,

    // 为当前客户生成一个唯一的id
    public final static String CACHE_PREFIX_SMS_SEQUENCE = "SEQUENCE:";
}